﻿ALTER TABLE [dbo].[Posts]
    ADD CONSTRAINT [FK_Posts_Users] FOREIGN KEY ([UserID]) REFERENCES [dbo].[Users] ([ID]) ON DELETE NO ACTION ON UPDATE NO ACTION;

